//package com.per.mybootall.es;
//
//import net.sf.jsqlparser.statement.create.index.CreateIndex;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//
//public class JestClientEs {
////    @Autowired
////    private JestClient jestClient;
////
////    @GetMapping("createIndex")
////    public String createIndex(String indexName) throws Exception{
////        CreateIndex createIndex = new CreateIndex.Builder(indexName).build();
////        JestResult result = jestClient.execute(createIndex);
////        return result.getJsonString();
////    }
//}
